import Player from "../player/player.js";
import Item from "./item.js";




/**装备 */
export default abstract class Outfit extends Item {
	static map = {};
	static name2Class = {};

	constructor(name: string) {
		super(name);
		Outfit.map[this.constructor.name] = this.constructor;
		Outfit.name2Class[this.name] = this;
	}

	/**装备 */
	abstract equip(player: Player): void;
}